/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cn.icanci.design.structure.facadepattern;

/**
 * 门面模式
 *  - 简化了调用过程，将之前需要操作的调用的多个方法、子系统聚合到一个门面去完成
 *  - 这样就只需要吐出单一的方法即可
 *  - 可以减少系统之间的依赖
 *  - 但是在子系统进行拓展的时候，可能会出现问题 ，因为其依赖子系统
 * @author icanci
 * @date Created in 2021/07/16 21:54
 * @version 1.0
 */
public class FacadeClient {
    public static void main(String[] args) {
        Facade facade = new Facade();
        facade.doA();
        facade.doB();
        facade.doC();
    }
}
